public class TestDemo04 {
    public static void main(String[] args) {
        Man man = new Man("小李", 28, 1.75f, 130);
        Woman woman = new Woman("小芳", 22, 1.65f, 98);
        man.woman = woman;
        woman.man = man;
        System.out.println(man.woman.name);

        //
        Children children = man.woman.createChildren();
        System.out.println(children.name);


    }
}
